C-Level Extensibility > The C-level extensibility API > JSVal JS_ObjectToValue() |
![]() ![]() ![]() |
Description
Stores an object return value in a jsval
. Use JS_ NewArrayObject()
to create an array object; use JS_SetElement()
to define its contents.
Arguments
JSObject
*obj
Returns
A JSVal containing the object passed in.
![]() ![]() ![]() |